<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
<head>
<link href="common/common.css" rel="stylesheet" type="text/css">
</head>
<body>
<c:set var="roles" value="${springctx.userAccountService.roles}" />
<div id="leftlayout">
<html:form	action="UserAccountUpdateAction.do">
	<html:hidden property="password" />
	<table class="input-table" width="450" align="center">
		<thead>
			<tr>
				<td colspan="2">更新用户帐号
				<div style="text-align: left; color: red"><html:errors /></div>
				</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td class="column">用户名</td>
				<td class="value"><html:text property="userID" size="32"
					styleClass="textbox" errorStyleClass="textbox_err" readonly="true" /></td>
			</tr>
			<tr>
				<td class="column">昵称</td>
				<td class="value"><html:text property="userName" size="32"
					maxlength="16" styleClass="textbox" errorStyleClass="textbox_err" /></td>
			</tr>
			<tr>
				<td class="column">角色</td>
				<td class="value"><html:select property="roleID">
					<html:option value="">请选择</html:option>
					<html:options collection="roles" labelProperty="displayName"
						property="roleID" />
				</html:select></td>
			</tr>
		</tbody>
		<tfoot>
			<tr>
				<td colspan="2">
				<input type="submit" name="confirm"  class="button" value="确定">
				</td>
			</tr>
		</tfoot>
	</table>
</html:form></div>
</body>
</html>
